package com.glela.dv.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.glela.common.dao.impl.BaseDao;
import com.glela.dv.dao.IKGetIntegralDao;
import com.glela.dv.mapper.KGetIntegralMapper;
import com.glela.dv.model.KGetIntegral;

/**
 * @author liujie
 * @date 2016年4月15日
 *
 */
@Repository
public class KGetIntegralDao extends BaseDao<KGetIntegral> implements IKGetIntegralDao{

	@Autowired
	KGetIntegralMapper kGetIntegralMapper;
	
	@Override
	public Long queryAvgIntegralByDay(String recordDay) {
		return kGetIntegralMapper.queryAvgIntegralByDay(recordDay);
	}

}
